//
//  TLChengYuPageView.h
//  Books
//
//  Created by tao故乡的云 on 2017/3/16.
//  Copyright © 2017年 故乡的云. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TLChengYu.h"

@class TLChengYuPageView;
@protocol TLChengYuPageViewDelegate <NSObject>

@optional
- (void)chengYuPageView:(TLChengYuPageView *)view didClickDeleteButton:(UIButton *)btn withItem:(TLChengYu *)item;
- (void)chengYuPageView:(TLChengYuPageView *)view didClickLoveButton:(UIButton *)btn withItem:(TLChengYu *)item;
- (void)chengYuPageView:(TLChengYuPageView *)view didClickEditButton:(UIButton *)btn withItem:(TLChengYu *)item;

@end

@interface TLChengYuPageView : UIView
/** cy模型 */
@property (nonatomic,strong) TLChengYu *chengYu;

+ (instancetype)shengYuPageView;
@end
